package com.example.hehecat.yuejian1.mvp.contract;

import com.example.hehecat.yuejian1.mvp.model.bean.UserBean;

import retrofit2.Callback;

/**
 * Created by hehecat on 2017/11/30.
 */

public interface LoginContract {
    interface Model {
        void login(String username, String password, Callback<UserBean> callback);
    }

    interface View {
        void moveToMainView();
        void moveToRegisterView();
        void showdata(String text);

    }

    interface Presenter {
        void login(String usernaeme, String password);
    }
}
